﻿using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace CommonManagement
{
    /// <summary>
    /// 账户应用服务接口
    /// </summary>
    public interface IAccountAppService : IApplicationService
    {
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<LoginResponse> LoginAsync(LoginDto input);

        /// <summary>
        /// 注册
        /// </summary>
        /// <param name="input"></param>
        Task<RegisterResponse> RegisterAsync(RegisterDto input);
    }
}